home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3iafont.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_IAFONT_H = 1;
- include("real/intact/r3ia2p.js")
-
-
- var R3CLID_IAFONT = 675;
-
-
-
-
- // Description: Register new font for the font interactor
- // Virtual method
- // Returns: Boolean, true of registration succeeded
- // p1: Integer, class id of the font to be registered
- // p3: String, name of the font
-
- R3CIAFONTM_REGISTERFONT = 675000;
-
- function mR3CIAFONTM_REGISTERFONT(p1, p3) {
- return DoA2(this.r3obj, 675000, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
- }
-
-
-
-
- R3IAFONTA_Text = 675500;
- function SetR3IAFONTA_Text(value) {
- R3Set(this.r3obj, R3IAFONTA_Text, value, R3TID_STRING, 0);
- }
-
- function GetR3IAFONTA_Text() {
- return R3Get(this.r3obj, R3IAFONTA_Text, R3TID_STRING, 0);
- }
-
- R3IAFONTA_FontClid = 675501;
- function SetR3IAFONTA_FontClid(value) {
- R3Set(this.r3obj, R3IAFONTA_FontClid, value, R3TID_INTEGER, 0);
- }
-
- function GetR3IAFONTA_FontClid() {
- return R3Get(this.r3obj, R3IAFONTA_FontClid, R3TID_INTEGER, 0);
- }
-
- R3IAFONTA_FontName = 675502;
- function SetR3IAFONTA_FontName(value) {
- R3Set(this.r3obj, R3IAFONTA_FontName, value, R3TID_STRING, 0);
- }
-
- function GetR3IAFONTA_FontName() {
- return R3Get(this.r3obj, R3IAFONTA_FontName, R3TID_STRING, 0);
- }
-
- var R3IAFONTA_Orientation = 675503; // r3Coordsys
-
-
- function r3Iafont () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_IAFONT, arguments);
- }
- // Methods
- this.REGISTERFONT=mR3CIAFONTM_REGISTERFONT;
-
- // Attributes
- this.GetText=GetR3IAFONTA_Text;
- this.SetText=SetR3IAFONTA_Text;
- this.GetFontClid=GetR3IAFONTA_FontClid;
- this.SetFontClid=SetR3IAFONTA_FontClid;
- this.GetFontName=GetR3IAFONTA_FontName;
- this.SetFontName=SetR3IAFONTA_FontName;
- }
-
- r3Iafont.prototype=new r3Ia2p;
- // r3iafont.h_H